.father{
    border: 1px red solid;
    padding: 10px;
    display: table-cell;
}
.children{
    border: 1px black solid;
}
.img-wrap{
    display: table-cell;
    vertical-align: middle;
    margin: 0 auto;
}